import request from '@/axios/request';

enum Api {
    REFRESH = '/sign_print/refresh',
    GETPRINTDATA='/sign_print/getprintdata',
    //saveprinttime
    SAVEPRINTTIME='/sign_print/saveprinttime'
}

// 刷新
export function refresh(data: any) {
    return request.post(Api.REFRESH, data);
}

// 获取数据
export function getprintData(data: any) {
    return request.post(Api.GETPRINTDATA, data);
}

// 保存打印时间
export function savePrintTime(data: any) {
    return request.post(Api.SAVEPRINTTIME, data);
}
